package org.boulderfoodrescue.webapp.client.rpc;

import java.util.List;

import org.boulderfoodrescue.webapp.shared.Pickup;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface PickupServiceAsync {

	void savePickup(Pickup pickup, AsyncCallback<Long> callback);

	void getPickups(AsyncCallback<List<Pickup>> callback);

	void removePickup(Pickup pickup, AsyncCallback<Boolean> callback);

	void removePickups(List<Pickup> pickups, AsyncCallback<Boolean> callback);

}
